package com.laycoding.common.service;

import com.laycoding.common.annotation.RpcService;
import com.laycoding.common.entity.User;
import com.laycoding.layrpc.annotation.LayRpc;
import com.laycoding.layrpc.entity.LayRpcResponse;

@LayRpc(value = "rpcservice")
public interface UserService {
  LayRpcResponse getUserName(String name);

  LayRpcResponse<User> getUser(String name);
}
